package com.init.engineering.pojo;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 承包商类
 * 一对一映射：无
 * 一对多映射：工程类、分项工程类
 */
@Data
public class Contractor {

  private String cid;
  private String cname;
  private Date updatetime;
  private int status;

  //一对多映射：工程类、分项子工程类
  private List<Project> projects;
  private List<Subitem> subitems;
}
